/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JPanelMSG.java
 *
 * Copyright 2011 Universidad Francisco de Paula Santander (UFPS).
 * Todos los Derechos Reservados.
 * Created on 28/01/2011, 03:42:46 PM
 */

package com.ufps.cuatro.vistas.util;

/**
 *<i><b>JPanelMSG:</b></i> @DefinicionClase
 * @author Carlos A. Torres C. - Dolly E. Guerrero. <https://code.google.com/p/tesis4dor/>
 * @version 1.0 28/01/2011
 * @see javax.swing.JPanel
 */
public class JPanelMSG extends javax.swing.JPanel {
    private static final long serialVersionUID = 1169773976028766186L;
    
    private Object objParent;
    private String strMSG;

    /** Creates new form JPanelMSG
     * @param strMSG @DefinicionParametro
     */
    public JPanelMSG(String strMSG) {
        initComponents();
        this.strMSG = strMSG;
        this.jLabelMSG.setText(java.util.ResourceBundle.getBundle("com/ufps/cuatro/vistas/util/resources/JPanelMSG").getString("<HTML><B>") + this.strMSG + java.util.ResourceBundle.getBundle("com/ufps/cuatro/vistas/util/resources/JPanelMSG").getString("</B></HTML>"));
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabelMSG = new javax.swing.JLabel();

        setName("Form"); // NOI18N

        jLabelMSG.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance().getContext().getResourceMap(JPanelMSG.class);
        jLabelMSG.setIcon(resourceMap.getIcon("jLabelMSG.icon")); // NOI18N
        jLabelMSG.setText(resourceMap.getString("jLabelMSG.text")); // NOI18N
        jLabelMSG.setName("jLabelMSG"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabelMSG, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabelMSG, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabelMSG;
    // End of variables declaration//GEN-END:variables

}
